import request from '@/utils/request'

// 查询中国省市区维度列表
export function listDimChina(query) {
  return request({
    url: '/report/dimChina/list',
    method: 'get',
    params: query
  })
}

// 查询中国省市区维度详细
export function getDimChina(id) {
  return request({
    url: '/report/dimChina/' + id,
    method: 'get'
  })
}

// 新增中国省市区维度
export function addDimChina(data) {
  return request({
    url: '/report/dimChina',
    method: 'post',
    data: data
  })
}

// 修改中国省市区维度
export function updateDimChina(data) {
  return request({
    url: '/report/dimChina',
    method: 'put',
    data: data
  })
}

// 删除中国省市区维度
export function delDimChina(id) {
  return request({
    url: '/report/dimChina/' + id,
    method: 'delete'
  })
}
